package com.itheima.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.itheima.dto.WarehouseAreaLocaDTO;
import com.itheima.pojo.WarehouseAreaLoca;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface WarehouseAreaLocaMapper extends BaseMapper<WarehouseAreaLoca> {
    Page<WarehouseAreaLocaDTO> selectWarehouseAreaLocaPage(Page<WarehouseAreaLocaDTO> page, @Param("dto") WarehouseAreaLocaDTO dto);

    WarehouseAreaLoca selectByIdWithDel(@Param("id") Integer id);

}